<template>
  <div class="page page-home-wrapper">
    <HomeSwiper />
    <HomeIntro :data="intro"/>
    <HomeLife :data="intro"/>   
  </div>
</template>

<script setup>
import HomeSwiper from './components/HomeSwiper.vue';
import HomeIntro from './components/HomeIntro.vue';
import HomeLife from './components/HomeLife.vue';
import intro from './data'
</script>

<style lang="scss" scoped>
.tab-h2 {
  font-size: 20px;
  letter-spacing: 1px;
  color: #0059b2;
}
.tab-p {
  font-size: 15px;
  letter-spacing: 1px;
  color: #999;
}
.medie-item {
  padding: 25px;
}
.media-heading {
  margin: 15px 0px 10px 0px;
}
.text-content {
  text-align: justify;
}

.tab2 {
  background: #eee;
  padding: 40px 20px;
  text-align: center;
  img {
    width: 80%;
    height: 80%;
  }
}

.text {
  h3 {
    font-size: 20px;
  }
  p {
    font-size: 14px;
  }
}

/**小屏幕 （桌面显示器，大于等于768px）**/
@media (min-width: 768px) {
  .tab-h2 {
    font-size: 26px;
  }
  .tab-p {
    font-size: 16px;
  }

  .text {
    h3 {
      font-size: 22px;
    }
    p {
      font-size: 15px;
    }
  }
}
/**小屏幕 （桌面显示器，大于等于992px）**/
@media (min-width: 992px) {
  .tab-h2 {
    font-size: 28px;
  }
  .tab-p {
    font-size: 17px;
  }

  .tab2-container {
    display: flex;
    align-items: center;
  }

  .tab2-container1 {
    display: flex;
    flex-direction: row-reverse;
  }

  .text {
    h3 {
      font-size: 24px;
    }
    p {
      font-size: 16px;
    }
  }
}
/**大屏幕 （桌面显示器，大于等于1200px）**/
@media (min-width: 1200px) {
  .tab-h2 {
    font-size: 30px;
  }
  .tab-p {
    font-size: 18px;
  }

  .tab2-container {
    display: flex;
    align-items: center;
  }

  .tab2-container1 {
    display: flex;
    flex-direction: row-reverse;
  }

  .text h3 {
    font-size: 26px;
  }
  .text p {
    font-size: 18px;
  }
}
</style>